package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AlertDto {
    /**
     * 处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-ddTHH:mm:ssZ")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime processingTime;

    /**
     * 处理结果
     */
    @Excel(name = "处理结果")
    private String processingResult;

    /**
     * 主键
     */
    private Long id;
}

